package com.cy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author wxhn1
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@KeySequence(value = "sq_user")
public class SysUser implements Serializable {
    @TableId(type = IdType.INPUT)
    private Integer id;
    private String username;
    private String password;
    private String salt; // 盐
    private Integer suo; // 是否锁定 0 正常 1 锁定
}
